<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
	<div id="right">
    	<div class="exhibition">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th>公司名称</th>
              <th>国家</th>
              <th>城市</th>
              <th>年</th>
              <th>月</th>
              <th>日</th>
            </tr>
            <logic:iterate id="exhibitions" name="exhibitionForm" property="matchList" indexId="i">
            <% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
            <bean:define id="compName" name="exhibitions" property="key"/>
   		    <% 
   		    	String cName = compName.toString();
   		    	int scId = cName.lastIndexOf("&");
   		    	cName = cName.substring(0,scId);
   		    %>
            <tr>
              <td <%=hasStyle %>><a href="ReadOneExhibition2.do?channelId=${exhibitionForm.channelId}&exhibitionId=${exhibitions.value.id}"><%=cName %></a></td>
              <td <%=hasStyle %>>${exhibitions.value.state}</td>
              <td <%=hasStyle %>>${exhibitions.value.area}</td>
              <td <%=hasStyle %>>2009</td>
              <td <%=hasStyle %>>4</td>
              <td <%=hasStyle %>>16-19日</td>
            </tr>
            </logic:iterate>
          </table>
        </div>
        
        <div class="page">${exhibitionForm.linkStr}</div>
    </div>